import { Scene, MeshBuilder, PhysicsAggregate, PhysicsShapeType } from "@babylonjs/core";

export function createGround(scene: Scene) {
    const ground = MeshBuilder.CreateGround("ground", { width: 10, height: 10 }, scene);
    new PhysicsAggregate(ground, PhysicsShapeType.BOX, { mass: 0 });
}
